/*
  * File:		libpbd_data.h
  * Purpose:	Define data struct and global variable using by interface
  * Author:	yoyo
  * Date:	2011-6-23
  */

#ifndef _LIB_PBD_DATA_H
#define _LIB_PBD_DATA_H

#include "pbd_pblock.h"
#include "pbd_type.h"

//#define PBD_DEVNAME_SIZE 32
#define PBD_ERRBUF_SIZE	128

typedef struct pbd_handle{
	char *dev;
	pbd_pblock_t pblock_head;
	char errbuf[PBD_ERRBUF_SIZE];	// store pbd error info
}pbd_handle_t;

#endif

